<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_id" data-field="name" data-rule="required" data-source="store/index" class="form-control selectpage" name="row[s_id]" type="text" value="">
<!--            <input id="c-s_id" data-rule="required" data-source="s/index" class="form-control selectpage" name="row[s_id]" type="text" value="">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('A_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-a_id" data-field="nickname" data-rule="required" data-source="auth/admin/index" class="form-control selectpage" name="row[a_id]" type="text" value="">
<!--            <input id="c-a_id" data-rule="required" data-source="a/index" class="form-control selectpage" name="row[a_id]" type="text" value="">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reg_datetime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reg_datetime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[reg_datetime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Outbound_enum')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-outbound_enum" data-rule="required" class="form-control selectpicker" name="row[outbound_enum]">
                {foreach name="outboundEnumList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sales_enum')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-sales_enum" data-rule="required" class="form-control selectpicker" name="row[sales_enum]">
                {foreach name="salesEnumList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deposit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deposit" class="form-control" step="0.01" name="row[deposit]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sales_offer_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sales_offer_price" class="form-control" step="0.01" name="row[sales_offer_price]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sales_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sales_price" class="form-control" step="0.01" name="row[sales_price]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Displace_enum')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-displace_enum" data-rule="required" class="form-control selectpicker" name="row[displace_enum]">
                {foreach name="displaceEnumList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Displace_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-displace_price" class="form-control" step="0.01" name="row[displace_price]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Accessory_set')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-accessory_set" class="form-control selectpicker" multiple="" name="row[accessory_set][]">
                {foreach name="accessorySetList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Accessory_profit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-accessory_profit" class="form-control" step="0.01" name="row[accessory_profit]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_enum')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-pay_enum" data-rule="required" class="form-control selectpicker" name="row[pay_enum]">
                {foreach name="payEnumList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('All_profit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-all_profit" class="form-control" step="0.01" name="row[all_profit]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('C_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-c_name" class="form-control" name="row[c_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('C_sex')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-c_sex" class="form-control selectpicker" name="row[c_sex]">
                {foreach name="cSexList" item="vo"}
                    <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('C_birthday_datetime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-c_birthday_datetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[c_birthday_datetime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('C_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-c_phone" class="form-control" name="row[c_phone]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Follow_enum')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-follow_enum" data-rule="required" class="form-control selectpicker" name="row[follow_enum]">
                {foreach name="followEnumList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gift_enum')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-gift_enum" data-rule="required" class="form-control selectpicker" name="row[gift_enum]">
                {foreach name="giftEnumList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
